﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Script.Serialization;
using Medianamik.Globalization;

namespace Medianamik.Core.Synchronization
{
    [Serializable]
    public abstract class SynchronizedHierarchicalEntity
    {
        public Guid? Id { get; set; }
        public Guid? ParentId { get; set; }
        public String Name { get; set; }
        public SynchronizeActions SynchronizeAction { get; set; }
        //Peut aussi bien contenir un string, int ou guid
        public string TemporaryId { get; set; }
        public string TemporaryParentId { get; set; }
        public bool IgnoreImport { get; set; }
        public string IdentifierPropertyName { get; set; }
    }
}
